package com.spsoft.core.model.leqidmz.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

@ApiModel(value = "上传发票汇总确认信息入参")
@EqualsAndHashCode(callSuper = true)
@Data
public class QueryUploadInvoiceSummaryParam extends BaseUserInfoParam {

    /**
     * 销售方纳税人识别号
     */
    @ApiModelProperty(value = "销售方纳税人识别号", required = true)
    @NotBlank(message = "销售方纳税人识别号不能为空")
    private String xsfnsrsbh;

    /**
     * 销售方省级税务机关代码
     */
    @ApiModelProperty(value = "销售方省级税务机关代码", required = true)
    @NotBlank(message = "销售方省级税务机关代码不能为空")
    private String xsfsjswjgdm;

    /**
     * 平台编号
     * 若为空，则查询纳税人在所有平台的开票汇总信息
     */
    @ApiModelProperty(value = "平台编号")
    private String ptbh;

    /**
     * 月份 yyyy-MM
     * 若为空，则查询所有历史月份数据
     */
    @ApiModelProperty(value = "月份")
    private String yf;
}
